package thefirst.LessonSerch.model;

import thefirst.member.model.MemberVO;
/**
 * lessonno number primary key,
	title varchar2(100) not null,
	content varchar2(2000),
	hopesubject varchar2(50) not null,
	hits number not null,
	dateposted date not null,
	hopetime varchar2(100) not null,
	connectstate varchar2(20) not null,
	classteacherid varchar2(50) not null,
	studentid varchar2(50) not null,
 * @author kosta-00-22
 *
 */
public class LessonBoardVO {
	private int no;
	private String id;
	private String title;
	private String datePosted;
	private int hits;
	private String content;
	private String hopetime;
	private String hopesubject;
	private String school;
	private MemberVO memberVO;
	
	public LessonBoardVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public LessonBoardVO(int no, String id, String title, String datePosted,
			int hits, String content, String hopetime, String hopesubject,
			String school, MemberVO memberVO) {
		super();
		this.no = no;
		this.id = id;
		this.title = title;
		this.datePosted = datePosted;
		this.hits = hits;
		this.content = content;
		this.hopetime = hopetime;
		this.hopesubject = hopesubject;
		this.school = school;
		this.memberVO = memberVO;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDatePosted() {
		return datePosted;
	}

	public void setDatePosted(String datePosted) {
		this.datePosted = datePosted;
	}

	public int getHits() {
		return hits;
	}

	public void setHits(int hits) {
		this.hits = hits;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getHopetime() {
		return hopetime;
	}

	public void setHopetime(String hopetime) {
		this.hopetime = hopetime;
	}

	public String getHopesubject() {
		return hopesubject;
	}

	public void setHopesubject(String hopesubject) {
		this.hopesubject = hopesubject;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public MemberVO getMemberVO() {
		return memberVO;
	}

	public void setMemberVO(MemberVO memberVO) {
		this.memberVO = memberVO;
	}

	@Override
	public String toString() {
		return "LessonBoardVO [no=" + no + ", id=" + id + ", title=" + title
				+ ", datePosted=" + datePosted + ", hits=" + hits
				+ ", content=" + content + ", hopetime=" + hopetime
				+ ", hopesubject=" + hopesubject + ", school=" + school
				+ ", memberVO=" + memberVO + "]";
	}
		
}
